$color:#f4f006;
$bg:#ECF2FF;
.active1{
  color: $color !important;
}
.container{
 width: 750rpx;
}
.home-title {
  background-color: $bg;
  height: 190rpx;
  display: flex;
  position: sticky;
  align-items: flex-end;
  padding-bottom: 20rpx;
  top: 0;
  z-index: 99;
  transition: all 0.2s;
  overflow: hidden;
  .title {
    height: 90rpx;
    font-size: 50rpx;
    padding: 0 10rpx 0 30rpx;
    color: $color;
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: all 0.2s;
    .iconfont {
      font-size: 14rpx;
      margin-left: 10rpx;
    }
  }

  .address {
    height: 90rpx;
    font-size: 48rpx;
    color: #000;
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: all 0.2s;
    .iconfont {
      margin: 0 10rpx;
    }
  }
  .search{
    display: none;
    width: 50rpx;
    height: 50rpx;
    border-radius: 50%;
    background-color: #fff;

    align-items: center;
    justify-content: center;
    margin: 0 0 15rpx 20rpx;
    border: 1px solid #ccc;
  }
  &.active{
   .title,.address{
    font-size: 40rpx;
     transition: all 0.2s;
   }
   .search{
     display: flex;
   }
  }
}

// nav

.home-nav-box{
  height: 220rpx;
  width: 100%;
  padding: 20rpx 20rpx 0 20rpx;
  background-color: $bg;
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  overflow: hidden;
  .item{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 30%;
  }
.icon{
  width: 150rpx;
  height: 120rpx;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  image{
    width: 100rpx;
    height: auto;
  }
}
.text{
  display: flex;
  font-size: 32rpx;
  height: 40rpx;

  align-items: center;
  font-weight: bold;
  color: #333;
}
}

// home-list-tabs
.tabs-wrap{
  position: sticky;
  top: 200rpx;
  padding: 24rpx 0 16rpx 0;
  border-radius: 10rpx 10rpx 0 0;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 -2px 5px rgba($color: #000000, $alpha: 0.05);
  border-bottom: 1px solid #eee;
  
  background-color: #fff;
  overflow: hidden;
}

.van-tab--active{
  font-weight: 800; 
}
.tab-active-class{
  height: 100rpx;
}

// school-list
.school-list{
  padding-bottom: 200rpx;
  overflow: hidden;
}
.cart-item {
padding:20rpx 40rpx;
overflow: hidden;
  &:last-child {
    margin-bottom: 0;
  }

  .image-wrapper {
    width: 100rpx;
    height: 100rpx;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #ddd;
    padding:10rpx;
    display: flex;
    justify-content: center;
    align-items: center;

    image {
      opacity: 1;
      width: 80rpx;
      height: 80rpx; 
    }
  }

  .item-right {
    width: 640rpx; 
    overflow: hidden;
    position: relative;
  }
  .fav-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 60rpx;
    height: 60rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    .iconfont{
      font-size: 34rpx;
      color: #aaa;
      &.active{
        color: $color;
      }
    }
  }
  .label-wrap{
    display: flex;

  }
  .label{
    padding:5rpx 15rpx;
    color: #333;
    margin-right: 18rpx;
    display: flex;
    justify-content: center;
    align-items: center; 
    border-radius: 12rpx;
    font-size: 22rpx;
  }
  .label1{
    background-color: #FFF9DB;
  }
  .label2{
    background-color: #FFEDDC;
  }
  .label3{
    background-color: #DCF5FF
  }
}
.professional-list{
  padding-bottom: 100rpx;

}
.professional-header-items-wrap{
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}
.professional-header-items{
  padding:40rpx 30rpx;
  width: calc(100% - 70rpx);
  display: flex;
  white-space: nowrap;
  overflow: scroll;
  

  .professional-item{
    padding:15rpx 50rpx;
    border: 1px solid #eee;
    background-color:#f3f4f8 ;
    border-radius: 50rpx;
    color: #666;
    margin: 0 20rpx;
    font-size: 32rpx;
    .iconfont{
      font-size: 34rpx;
      color: #aaa;
      &.active{
        color: $color;
      }
    }
 
    &.act{
      border: 1px solid #ECF2FF;
      background-color:#ECF2FF;
      color:#7496E6
    }
  }
}

